package com.ad2campaign.engine.db.dao;

import java.util.Date;
import java.util.List;

import com.ad2campaign.engine.core.TaskStatus;
import com.ad2campaign.engine.db.model.Keystore;
import com.ad2campaign.engine.db.model.PushNotificationMaster;

public interface PushNotificationMasterDao
{
	public List<PushNotificationMaster> findPushByDate(Date date);
 	
	public Keystore findKeyStoreByCid(int cId);
 
 
	int updateMessageStatusAndProcucedById(int id, int status, int produced) ;

 
	
	int updateMessageStatusAndExecutionIdById(int id,Long execution_id, int status);
 	TaskStatus findTaskStatus (long executionId);

 	
	int updateMessageStatusAndExecutionIdByExecutionId(Long oldExecutionId,Long execution_id, int status);

	int updateMessageStatusId(int id, TaskStatus status);

 }
